"""Utility functions to generate MeshPy meshes. Most of these are
adapted from the MeshPy examples."""

def round_trip_connect(seq):
      result = []
      for i in range(len(seq)):
        result.append((seq[i], seq[(i+1)%len(seq)]))
      return result

  
